package com.hmy.gateway.bo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

@ApiModel(value = "登录信息", description = "登录信息入参")
@Data
public class ReqUserLogin {

    /**
     * 用户名
     */
    @NotEmpty
    @Size(max = 11)
    @ApiModelProperty(value = "用户名", required = true)
    private String username;

    @NotEmpty
    @Size(max = 32)
    @ApiModelProperty(value = "密码", required = true)
    private String password;

}